package com.example.bishe.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @Author yws
 * @Date 2022/3/3 20:17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
public class User implements Serializable {
    private String name;//用户姓名
    private String userid;//学工号
    private String phone;//电话号码
    private String email;//邮箱
    /*电话号码和邮箱不能同时为空*/
}
